
const members = [
    {
      id: 1457912,
      login: "brauliodiez",
      avatar_url: "https://avatars.githubusercontent.com/u/1457912?v=3"
    },
    {
      id: 4374977,
      login: "Nasdan",
      avatar_url: "https://avatars.githubusercontent.com/u/4374977?v=3"
    }
]

const fetchMembers = function () {

    return new Promise( (resolve,reject) => {

        setTimeout(() => {
            resolve(members)
        },2000)
    })
    
};


export const memberAPI = {
    fetchMembers
}